FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER hzchen@360tec.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /shycloud-upms

WORKDIR /shycloud-upms

EXPOSE 4000

ADD ./shycloud-upms/shycloud-upms-biz/target/shycloud-upms-biz.jar ./

CMD java -Djava.security.egd=file:/dev/./urandom -jar shycloud-upms-biz.jar
